package System类编程题;

import java.util.Arrays;

public class LearnSystemCopy {
    public static void main(String[] args) {
        int[] arr = {10,27,8,5,2,1,3,55,88};
        int[] copy = new int[5];
        System.arraycopy(arr,2,copy,0,5);
        System.out.println(Arrays.toString(copy));
    }
}
